package com.example.hello.service;

import com.example.hello.pojo.Book;
import com.example.hello.pojo.PageQueryParam;
import com.example.hello.pojo.PageResult;

import java.util.List;

public interface BookRepositoryService {

    void save(Book book);

    List<Book> findByTitleOrAuthorOrISBN(String requestParam);

    PageResult<Book> findAll(PageQueryParam bookQueryParam);

    PageResult<Book> findAllOrderByBorrowNum(PageQueryParam bookQueryParam);
}
